import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import Father from '@/components/父子组件通信/Father'
import Son from '@/components/父子组件通信/Son'

import Father1 from '@/components/子父组件通信/Father1'
import Son1 from '@/components/子父组件通信/Son1'

import Father2 from '@/components/子父组件通信/Father2'
import Son2 from '@/components/子父组件通信/Son2'

import Father3 from '@/components/子父组件通信/Father3'
import Son3 from '@/components/子父组件通信/Son3'

import ThreeLogin from '@/components/ThreeLogin'

import ThreePayment from '@/components/ThreePayment'

import Webshell from '@/components/Webshell'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Father',
      name: 'Father',
      component: Father
    },
    {
      path: '/Son',
      name: 'Son',
      component: Son
    },

    {
      path: '/Father1',
      name: 'Father1',
      component: Father1
    },
    {
      path: '/Son1',
      name: 'Son1',
      component: Son1
    },

    {
      path: '/Father2',
      name: 'Father2',
      component: Father2
    },
    {
      path: '/Son2',
      name: 'Son2',
      component: Son2
    },

    {
      path: '/Father3',
      name: 'Father3',
      component: Father3
    },
    {
      path: '/Son3',
      name: 'Son3',
      component: Son3
    },
    {
      path: '/ThreeLogin',
      name: 'ThreeLogin',
      component: ThreeLogin
    },
    {
      path: '/ThreePayment',
      name: 'ThreePayment',
      component: ThreePayment
    },
    {
      path: '/Webshell',
      name: 'Webshell',
      component: Webshell
    }
  ]
})
